package tech.aistar.day01;

import javax.servlet.GenericServlet;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.annotation.WebServlet;
import java.io.IOException;

@WebServlet(urlPatterns = "/day01/two")
public class TwoServlet extends GenericServlet {
//    @Override
//    public void init() throws ServletException {
//        System.out.println("init2..");
//    }

    @Override
    public void service(ServletRequest servletRequest, ServletResponse servletResponse) throws ServletException, IOException {
        System.out.println("servlet2....");
    }
}
